home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / RIncludes / AEDataModel.r next >
Encoding:
Text File  |  1998-08-17  |  2.8 KB  |  94 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        AEDataModel.r
  3.  
  4.      Contains:    AppleEvent Data Model Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1996-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __AEDATAMODEL_R__
  19. #define __AEDATAMODEL_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. /* Apple event descriptor types */
  26. #define typeBoolean                     'bool'
  27. #define typeChar                         'TEXT'
  28.  
  29. /* Preferred numeric Apple event descriptor types */
  30. #define typeSInt16                         'shor'
  31. #define typeSInt32                         'long'
  32. #define typeUInt32                         'magn'
  33. #define typeSInt64                         'comp'
  34. #define typeIEEE32BitFloatingPoint         'sing'
  35. #define typeIEEE64BitFloatingPoint         'doub'
  36. #define type128BitFloatingPoint         'ldbl'
  37. #define typeDecimalStruct                 'decm'
  38.  
  39. /* Non-preferred Apple event descriptor types */
  40. #define typeSMInt                         'shor'
  41. #define typeShortInteger                 'shor'
  42. #define typeInteger                     'long'
  43. #define typeLongInteger                 'long'
  44. #define typeMagnitude                     'magn'
  45. #define typeComp                         'comp'
  46. #define typeSMFloat                     'sing'
  47. #define typeShortFloat                     'sing'
  48. #define typeFloat                         'doub'
  49. #define typeLongFloat                     'doub'
  50. #define typeExtended                     'exte'
  51.  
  52. /* More Apple event descriptor types */
  53. #define typeAEList                         'list'
  54. #define typeAERecord                     'reco'
  55. #define typeAppleEvent                     'aevt'
  56. #define typeEventRecord                 'evrc'
  57. #define typeTrue                         'true'
  58. #define typeFalse                         'fals'
  59. #define typeAlias                         'alis'
  60. #define typeEnumerated                     'enum'
  61. #define typeType                         'type'
  62. #define typeAppParameters                 'appa'
  63. #define typeProperty                     'prop'
  64. #define typeFSS                         'fss '
  65. #define typeKeyword                     'keyw'
  66. #define typeSectionH                     'sect'
  67. #define typeWildCard                     '****'
  68. #define typeApplSignature                 'sign'
  69. #define typeQDRectangle                 'qdrt'
  70. #define typeFixed                         'fixd'
  71. #define typeSessionID                     'ssid'
  72. #define typeTargetID                     'targ'
  73. #define typeProcessSerialNumber         'psn '
  74. #define typeKernelProcessID             'kpid'
  75. #define typeDispatcherID                 'dspt'
  76. #define typeNull                         'null'                /*  null or nonexistent data  */
  77.  
  78. /* Keywords for Apple event attributes */
  79. #define keyTransactionIDAttr             'tran'
  80. #define keyReturnIDAttr                 'rtid'
  81. #define keyEventClassAttr                 'evcl'
  82. #define keyEventIDAttr                     'evid'
  83. #define keyAddressAttr                     'addr'
  84. #define keyOptionalKeywordAttr             'optk'
  85. #define keyTimeoutAttr                     'timo'
  86. #define keyInteractLevelAttr             'inte'                /*  this attribute is read only - will be set in AESend  */
  87. #define keyEventSourceAttr                 'esrc'                /*  this attribute is read only  */
  88. #define keyMissedKeywordAttr             'miss'                /*  this attribute is read only  */
  89. #define keyOriginalAddressAttr             'from'                /*  new in 1.0.1  */
  90.  
  91.  
  92. #endif /* __AEDATAMODEL_R__ */
  93.  
  94.